package com.liang.jiekou.controller;

import com.liang.jiekou.entity.MOCTE;
import com.liang.jiekou.entity.Result;
import com.liang.jiekou.service.MOCTEService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

/*@Api(tags = "领/退料单单身控制器")
@RestController
@RequestMapping("/mocte")*/
public class MOCTEController {
    @Resource
    private MOCTEService mocteService;


    @ApiOperation("查询单身")
    //查询单身
    @GetMapping("/list")
    public Result<List<MOCTE>> list(@RequestParam String db, @RequestParam String dh){
        return Result.success(mocteService.getMOCTEByTE001AWithTE002(db,dh));
    }

    /*@ApiOperation("退料")
    @PostMapping("/retreat")
    public  Result retreat(@RequestMapping )
    */




}
